package com.siyuanren.gcocp.common.web.bean;

import org.apache.commons.lang3.builder.ReflectionToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

/**
 * Created by   guwr
 * Project_name education-api-parent
 * Path         com.siyuanren.gcocp.common.web.bean.AppCommonParameter
 * Date         2017/5/2
 * Time         13:30
 * Description  App公共参数
 */
public class AppCommonParameter implements Serializable {


    private static final long serialVersionUID = 9187733567135178963L;
    private String method;//API接口名称
    private String appKey; //分配给应用的AppKey
    private String timestamp;//时间戳，格式为yyyy-MM-dd HH:mm:ss
    private String sign;//API输入参数签名结果


    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public String getAppKey() {
        return appKey;
    }

    public void setAppKey(String appKey) {
        this.appKey = appKey;
    }

    public String getTimestamp() {
        return timestamp;
    }

    public void setTimestamp(String timestamp) {
        this.timestamp = timestamp;
    }


    public String getSign() {
        return sign;
    }

    public void setSign(String sign) {
        this.sign = sign;
    }

    @Override
    public String toString() {
        return ReflectionToStringBuilder.toString(this, ToStringStyle.MULTI_LINE_STYLE, true, true);
    }
}
